package com.ymatou.iapi.productlimit.service;

import org.json.JSONObject;

import com.ymt.base.YmatouBaseCall;
import com.ymttest.utils.EnvSetup;
/**
*获取限购信息
*FreeMaker Template自动生成代码
*/
public class GetLimitAllowBuyCall extends YmatouBaseCall{
	private static String opurl ="api/Limit/GetLimitAllowBuy";
	
	public GetLimitAllowBuyCall() {
		super(EnvSetup.getSystemUrl("productlimit"),opurl,"POST","JSON");
	}
//	productlimit
	/**
	 * @param domain productlimit or tradequota
	 */
	public GetLimitAllowBuyCall(String domain) {
		super(EnvSetup.getSystemUrl(domain),opurl,"POST","JSON");
	}
	@Override
	public void addDefHeader() {
		client.addHeader("Accept","text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
	
}